package com.shaoyu.spring.study.dto;

import java.io.Serializable;
import java.util.List;

/**
 * @author : Swicky
 * @date : 2021/7/9 - 1:54 下午
 */
public class ExcelSheetRequest implements Serializable {

    private ExcelSheetRequest(){}

    public static ExcelSheetRequest of(String sheetName, List excelData) {
        return new ExcelSheetRequest().setSheetName(sheetName).setExcelData(excelData);
    }

    private List excelData;
    private String sheetName;

    public List getExcelData() {
        return excelData;
    }

    public ExcelSheetRequest setExcelData(List excelData) {
        this.excelData = excelData;
        return this;
    }

    public String getSheetName() {
        return sheetName;
    }

    public ExcelSheetRequest setSheetName(String sheetName) {
        this.sheetName = sheetName;
        return this;
    }
}
